﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.ServiceModel;

using PassportsModel;
using NeuronESBAccess;


namespace ApplicationWindowsService
{
    public partial class eApplicationService : ServiceBase
    {
        public eApplicationService()
        {
            InitializeComponent();
        }

        public PassportResponse MakePassportRequest(PassportRequest passportRequest)
        {
            return (NeuronService.MakePassportRequest(passportRequest));
        }

        protected override void OnStart(string[] args)
        {
            ServiceHost shost = new ServiceHost(typeof(eApplicationService));
            shost.Open();
        }

        protected override void OnStop()
        {
        }
    }
}
